package com.framework.admin.service;

import com.framework.admin.domain.dto.PassWordEmailDto;
import com.framework.admin.domain.param.SysUserParam;
import com.framework.admin.model.SysUser;
import com.framework.admin.vo.SysUserVO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface IUserService {
    Page<SysUserVO> getUserList(SysUser sysUser, Pageable request);
    
    SysUser getUserById(String id);

    void save(SysUserParam role);

    void delete(List<String> ids);

    void resetPassword(String user);

    List<SysUser> allList(SysUser sysUser);

    SysUser findThirdPartUser(Map<String, String> param);

    void saveInfo(SysUser user);

    void enable(SysUser user);

    void changePassword(String id, PassWordEmailDto dto);
}
